package com.zhumo.sz.entity.bus;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModel;
import io.swagger.models.auth.In;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Time;
import java.sql.Timestamp;
import java.util.concurrent.Delayed;

/**
 * id INT 主键id PRIMARY KEY
 * bus_id BIGINT 公交车编号 PRIMARY KEY
 * line_id VARCHAR 班次id FOREIGH KEY
 * bus_card VARCHAR 公交车车牌号码
 * bus_type VARCHAR 公交车类型
 * driver_name VARCHAR 责任司机名称
 * on_use_time TIMESTAMP 投入使用时间
 * delete_time TIMESTAMP 停止运行时间
 * is_deleted TINYINT 逻辑删除标识
 * create_time TIMESTAMP 创建时间
 * update_time TIMESTAMP 更新时间
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "市内公交信息",description = "市内公交信息表")
public class BusInfo {

    private Integer id;
    private Long busId;
    private String lineId;
    private String busCard;
    private String busType;
    private String driverName;
    private Timestamp onUseTime;
    private Timestamp deleteTime;
    private boolean isEnable;
    private Timestamp createTime;
    private Timestamp updateTime;
}
